import java.util.List;
import java.util.Map;

public class Book {
        private String bookname;
        private String bookno;
        private double price;
        private Map words;

    public Book(String bookname, String bookno, double price) {
        this.bookname = bookname;
        this.bookno = bookno;
        this.price = price;
    }

    public Book() {
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookname='" + bookname + '\'' +
                ", bookno='" + bookno + '\'' +
                ", price=" + price +
                ", words=" + words +
                '}';
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getBookno() {
        return bookno;
    }

    public void setBookno(String bookno) {
        this.bookno = bookno;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public void setWords(Map words) {
        this.words = words;
    }

    public Map getWords() {
        return words;
    }
}
